//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.aidong.model.wills;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(
        name = "KyContract"
)
public class KyContract implements Serializable {
    @Id
    @GeneratedValue(
            strategy = GenerationType.IDENTITY
    )
    @Column(
            name = "SaleId",
            nullable = false
    )
    protected Integer saleId;
    @Column(
            name = "ContractCode",
            nullable = false
    )
    protected String contractCode;
    @Column(
            name = "ShopCode",
            nullable = false
    )
    protected String shopCode;
    @Column(
            name = "MemberCode",
            nullable = false
    )
    protected String memberCode;
    @Column(
            name = "CardCode",
            nullable = false
    )
    protected String cardCode;
    @Column(
            name = "EarnestId"
    )
    protected Integer earnestId;
    @Column(
            name = "PromotionId"
    )
    protected Integer promotionId;
    @Column(
            name = "SaleType",
            nullable = false
    )
    protected String saleType;
    @Column(
            name = "SaleDate",
            nullable = false
    )
    protected Date saleDate;
    @Column(
            name = "ComboCode",
            nullable = false
    )
    protected String comboCode;
    @Column(
            name = "FactAmount",
            nullable = false
    )
    protected Double factAmount;
    @Column(
            name = "PresentAmount",
            nullable = false
    )
    protected Double presentAmount;
    @Column(
            name = "EarnestAmount",
            nullable = false
    )
    protected Double earnestAmount;
    @Column(
            name = "InAmount",
            nullable = false
    )
    protected Double inAmount;
    @Column(
            name = "PayAmount",
            nullable = false
    )
    protected Double payAmount;
    @Column(
            name = "BeginTime",
            nullable = false
    )
    protected Date beginTime;
    @Column(
            name = "EndTime",
            nullable = false
    )
    protected Date endTime;
    @Column(
            name = "OverDueUse",
            nullable = false
    )
    protected Integer overDueUse;
    @Column(
            name = "UseAmount",
            nullable = false
    )
    protected Double useAmount;
    @Column(
            name = "LastUseTime"
    )
    protected Date lastUseTime;
    @Column(
            name = "Note"
    )
    protected String note;
    @Column(
            name = "Status",
            nullable = false
    )
    protected Integer status;
    @Column(
            name = "ApproveUser"
    )
    protected String approveUser;
    @Column(
            name = "ApproveTime"
    )
    protected Date approveTime;
    @Column(
            name = "OutAmount"
    )
    protected Double outAmount;
    @Column(
            name = "OutType"
    )
    protected String outType;
    @Column(
            name = "OutTime"
    )
    protected Date outTime;
    @Column(
            name = "OutUser"
    )
    protected String outUser;
    @Column(
            name = "OldContractCode"
    )
    protected String oldContractCode;
    @Column(
            name = "SignStatus",
            nullable = false
    )
    protected Integer signStatus;
    @Column(
            name = "PrintLabel",
            nullable = false
    )
    protected Integer printLabel;
    @Column(
            name = "PrintTime"
    )
    protected Date printTime;
    @Column(
            name = "PrintUser"
    )
    protected String printUser;
    @Column(
            name = "SalesCode",
            nullable = false
    )
    protected String salesCode;
    @Column(
            name = "SalesCode2"
    )
    protected String salesCode2;
    @Column(
            name = "CreateUser",
            nullable = false
    )
    protected String createUser;
    @Column(
            name = "CreateTime",
            nullable = false
    )
    protected Date createTime;
    @Column(
            name = "UpdateTime",
            nullable = false
    )
    protected Date updateTime;

    public KyContract() {
    }

    public KyContract(Integer saleId) {
        this.saleId = saleId;
    }

    public Integer getSaleId() {
        return this.saleId;
    }

    public void setSaleId(Integer saleId) {
        this.saleId = saleId;
    }

    public String getContractCode() {
        return this.contractCode;
    }

    public void setContractCode(String contractCode) {
        this.contractCode = contractCode;
    }

    public String getShopCode() {
        return this.shopCode;
    }

    public void setShopCode(String shopCode) {
        this.shopCode = shopCode;
    }

    public String getMemberCode() {
        return this.memberCode;
    }

    public void setMemberCode(String memberCode) {
        this.memberCode = memberCode;
    }

    public String getCardCode() {
        return this.cardCode;
    }

    public void setCardCode(String cardCode) {
        this.cardCode = cardCode;
    }

    public Integer getEarnestId() {
        return this.earnestId;
    }

    public void setEarnestId(Integer earnestId) {
        this.earnestId = earnestId;
    }

    public Integer getPromotionId() {
        return this.promotionId;
    }

    public void setPromotionId(Integer promotionId) {
        this.promotionId = promotionId;
    }

    public String getSaleType() {
        return this.saleType;
    }

    public void setSaleType(String saleType) {
        this.saleType = saleType;
    }

    public Date getSaleDate() {
        return this.saleDate;
    }

    public void setSaleDate(Date saleDate) {
        this.saleDate = saleDate;
    }

    public String getComboCode() {
        return this.comboCode;
    }

    public void setComboCode(String comboCode) {
        this.comboCode = comboCode;
    }

    public Double getFactAmount() {
        return this.factAmount;
    }

    public void setFactAmount(Double factAmount) {
        this.factAmount = factAmount;
    }

    public Double getPresentAmount() {
        return this.presentAmount;
    }

    public void setPresentAmount(Double presentAmount) {
        this.presentAmount = presentAmount;
    }

    public Double getEarnestAmount() {
        return this.earnestAmount;
    }

    public void setEarnestAmount(Double earnestAmount) {
        this.earnestAmount = earnestAmount;
    }

    public Double getInAmount() {
        return this.inAmount;
    }

    public void setInAmount(Double inAmount) {
        this.inAmount = inAmount;
    }

    public Double getPayAmount() {
        return this.payAmount;
    }

    public void setPayAmount(Double payAmount) {
        this.payAmount = payAmount;
    }

    public Date getBeginTime() {
        return this.beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return this.endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getOverDueUse() {
        return this.overDueUse;
    }

    public void setOverDueUse(Integer overDueUse) {
        this.overDueUse = overDueUse;
    }

    public Double getUseAmount() {
        return this.useAmount;
    }

    public void setUseAmount(Double useAmount) {
        this.useAmount = useAmount;
    }

    public Date getLastUseTime() {
        return this.lastUseTime;
    }

    public void setLastUseTime(Date lastUseTime) {
        this.lastUseTime = lastUseTime;
    }

    public String getNote() {
        return this.note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public Integer getStatus() {
        return this.status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getApproveUser() {
        return this.approveUser;
    }

    public void setApproveUser(String approveUser) {
        this.approveUser = approveUser;
    }

    public Date getApproveTime() {
        return this.approveTime;
    }

    public void setApproveTime(Date approveTime) {
        this.approveTime = approveTime;
    }

    public Double getOutAmount() {
        return this.outAmount;
    }

    public void setOutAmount(Double outAmount) {
        this.outAmount = outAmount;
    }

    public String getOutType() {
        return this.outType;
    }

    public void setOutType(String outType) {
        this.outType = outType;
    }

    public Date getOutTime() {
        return this.outTime;
    }

    public void setOutTime(Date outTime) {
        this.outTime = outTime;
    }

    public String getOutUser() {
        return this.outUser;
    }

    public void setOutUser(String outUser) {
        this.outUser = outUser;
    }

    public String getOldContractCode() {
        return this.oldContractCode;
    }

    public void setOldContractCode(String oldContractCode) {
        this.oldContractCode = oldContractCode;
    }

    public Integer getSignStatus() {
        return this.signStatus;
    }

    public void setSignStatus(Integer signStatus) {
        this.signStatus = signStatus;
    }

    public Integer getPrintLabel() {
        return this.printLabel;
    }

    public void setPrintLabel(Integer printLabel) {
        this.printLabel = printLabel;
    }

    public Date getPrintTime() {
        return this.printTime;
    }

    public void setPrintTime(Date printTime) {
        this.printTime = printTime;
    }

    public String getPrintUser() {
        return this.printUser;
    }

    public void setPrintUser(String printUser) {
        this.printUser = printUser;
    }

    public String getSalesCode() {
        return this.salesCode;
    }

    public void setSalesCode(String salesCode) {
        this.salesCode = salesCode;
    }

    public String getSalesCode2() {
        return this.salesCode2;
    }

    public void setSalesCode2(String salesCode2) {
        this.salesCode2 = salesCode2;
    }

    public String getCreateUser() {
        return this.createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return this.updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
